<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="memory.*,java.lang.management.OperatingSystemMXBean,java.lang.management.GarbageCollectorMXBean,java.util.*"%>
<html>
<head>
<script type="text/javascript" src="<%= getServletContext().getContextPath() %>/js/scripts.js"></script>
<script type="text/javascript" src="<%= getServletContext().getContextPath() %>/js/jquery-1.2.1.js"></script>
<link rel="stylesheet" type="text/css" href="<%= getServletContext().getContextPath() %>/css/style.css" >
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script>
  $(document).ready(function(){
        $("div").slideDown("slow");
    });
 </script>
</head>
<body>
<% JvmInformation jvmobj = (JvmInformation)request.getAttribute("jvmobj"); %>
<div class="title"> Virtual machine </div>
<div class="info">
<table>
  <tr>
  	<td>
  		<b>Class path: </b>
  		<ul>
  		<% StringTokenizer classP=new StringTokenizer(jvmobj.getMxbean().getClassPath(),":");
  			while(classP.hasMoreTokens()){
  				%>
  				<li><%= classP.nextToken() %></li>
  			<%}
  		%>
  		</ul>
  	</td>
  </tr>
  <tr>
  	<td>
  		<b>Boot class path: </b>
  		<ul>
  		<% classP=new StringTokenizer(jvmobj.getMxbean().getBootClassPath(),":");
  			while(classP.hasMoreTokens()){
  				%>
  				<li><%= classP.nextToken() %></li>
  			<%}
  		%>
  		</ul>
  	</td>
  </tr>
  <tr>
  	<td>
  		<b>Library path: </b>
  		<ul>
  		<% classP=new StringTokenizer(jvmobj.getMxbean().getLibraryPath(),":");
  			while(classP.hasMoreTokens()){
  				%>
  				<li><%= classP.nextToken() %></li>
  			<%}
  		%>
  		</ul>
  	</td>
  </tr>
 
 </table>
</div>
</body>
</html>
